import Vue from "vue";
export default {
	namespaced: true, // 命名空间必须写
	state: {
		isCoupon: false, // 开屏红包弹框
		isPayment: false,//支付后红包弹框
	},
	getters: {},
	// 唯一修改state值的方法 
	// commit
	mutations: {
		setIsCoupon(state, value) {
			state.isCoupon = value;
		},
		setIsPayment(state, value) {
			state.isPayment = value;
		},
	}
}